/*
 * @Author: 谢陈洁
 * @Date: 2025-07-14 12:25:55
 * @LastEditors: 谢陈洁
 * @LastEditTime: 2025-07-14 12:49:53
 * @Description: file content
 */
export const columns = [
  { prop: 'id', label: 'ID', width: 80 },
  { prop: 'title', label: '标题', width: 200 },
  { prop: 'description', label: '描述' },
  { label: '操作', width: 200, slot: 'edit', fixed: 'right' } // 使用 slot 来定义操作列 名称自定义 是插槽名字
]
export const searchFields = [
  { label: '标题', prop: 'title', type: 'input', placeholder: '请输入标题' },
  { label: '作者', prop: 'author', type: 'input', placeholder: '请输入作者' }
]